<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>原料仓库管理系统</title>
</head>
<?php
session_start();
if ($_SESSION['username']!=null){
	
}else{
	 echo"<script type='text/javascript'>location='CKGL-index.php';
			</script>";
}
?>
<body>
<a href="CKGL_no1.php">返回首页</a>
<form action="zdy_ok.php" method="post" name="zdy_biao">
<table width="842" height="601" align="center" style="height:600px; background-color:#CCC;">
<tr>
<td width="229">请选择数据查询的时间阶段：</td>
<td width="196"><input type="date" name="time_qian" value="<?php echo date('Y-m-d',strtotime("-1 week"));?>" />~~~</td>
<td width="204"><input type="date" name="time_hou" value="<?php echo date('Y-m-d');?>" /></td>
<td width="123">请选择查询的表</td>
<td width="66"><select name="rck_xz">
    <option value="xclb" selected>结存</option>
    <option value="ckb">出库</option>
    <option value="rkb">入库</option>
    </select></td>
</tr>
<tr>
<td>请选择需要查询的内容:</td>
<td></td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择基础项:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="a[]" value="PH" />批号</td>
<td><input type="checkbox" name="a[]" value="name" />名称</td>
<td><input type="checkbox" name="a[]" value="id" />手册号</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="a[]" value="car_id" />合同号/车牌号</td>
<td><input type="checkbox" name="a[]" value="DJ_id" />单据号</td>

</tr>
<tr>
<td>&nbsp;&nbsp;选择数量项:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="s[]" value="SW" />实物量</td>
<td><input type="checkbox" name="s[]" value="GU" />钴含量</td>
<td><input type="checkbox" name="s[]" value="NIE" />镍含量</td>
<td><input type="checkbox" name="s[]" value="MENG" />锰含量</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="s[]" value="TONG" />铜含量</td>
<td><input type="checkbox" name="s[]" value="LI" />锂含量</td>
<td><input type="checkbox" name="s[]" value="BS" />物品包数</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择其他项:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择库区:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="ku[]" value="原料中心1区" />原料中心1区</td>
<td><input type="checkbox" name="ku[]" value="原料中心2区" />原料中心2区</td>
<td><input type="checkbox" name="ku[]" value="原料中心3区" />原料中心3区</td>
<td><input type="checkbox" name="ku[]" value="荆工物流" />荆工物流</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="ku[]" value="尾料周转中心1区" />尾料周转中心1区</td>
<td><input type="checkbox" name="ku[]" value="70亩电池库" />70亩电池库</td>
<td><input type="checkbox" name="ku[]" value="尾料周转中心3区" />尾料周转中心3区</td>
<td><input type="checkbox" name="ku[]" value="南物流中心" />南物流中心</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择类别项:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择原料类别:</td>
</tr>
<tr>
    <td>&nbsp;&nbsp;<input type="checkbox" name="YLLB[]" value="钴原料" />钴原料</td>
    <td><input type="checkbox" name="YLLB[]" value="镍原料">镍原料</td>
    <td><input type="checkbox" name="YLLB[]" value="锰原料">锰原料</td>
</tr>
<tr>
    <td>&nbsp;&nbsp;<input type="checkbox" name="YLLB[]" value="铜原料">铜原料</td>
    <td><input type="checkbox" name="YLLB[]" value="锂原料">锂原料</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择表类别:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="r[]" value="原料" />原料</td>
<td><input type="checkbox" name="r[]" value="绿钨原料及产物" />绿钨原料及产物</td>
<td><input type="checkbox" name="r[]" value="电池原料及产物" />电池原料及产物</td>
<td><input type="checkbox" name="r[]" value="外购" />外购</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="r[]" value="不合格品" />不合格品</td>
<td><input type="checkbox" name="r[]" value="原料煅烧" />原料煅烧</td>
<td><input type="checkbox" name="r[]" value="生产尾料" />生产尾料</td>
<td><input type="checkbox" name="r[]" value="" />其他</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择类别:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="z[]" value="进料加工" />进料加工</td>
<td><input type="checkbox" name="z[]" value="一般贸易" />一般贸易</td>
</tr>
<tr>
<td>&nbsp;&nbsp;选择附属类别:</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="checkbox" name="s[]" value="LB1" />类别1</td>
<td><input type="checkbox" name="s[]" value="LB2" />类别2</td>
</tr>
<tr>
<td>&nbsp;&nbsp;<input type="submit" name="sub" value="提交数据" /></td>
<td><input type="reset" name="sub" value="重新填写" /></td>
</tr>
</table>

</form>
</body>
</html>